package com.zrrd.homework._0520_0526.h4;

/**
 * @author WanJl
 * @version 1.0
 * @title MyTest
 * @description
 * @create 2024/5/25
 */
public class MyTest {
    public static void main(String[] args) {
        User user = new User("张三", "zhangsan", "123456");
        UserService userService=new UserServiceImpl();
        //boolean b = userService.register(user);
        //System.out.println(b?"注册成功":"注册失败");
        boolean b1 = userService.login("zhangsan", "123456");
        System.out.println(b1?"登录成功":"登录失败");
    }
}
